/**
 * @author nttdocomo
 */
define(function(require){
	require("./abstractContainer");
	aries.klass("aries.container.Container",aries.container.AbstractContainer.extend({
		doRenderContainer: function (comp) {
			// Careful! This method is bolted on to the renderTpl so all we get for context is
			// the renderData! The "this" pointer is the renderTpl instance!
			var me = renderData.$comp.layout,
				tpl = me.getRenderTpl(),
				data = me.getRenderData();
			tpl.applyOut(data, out);
		},

	    setupRenderData: function (renderData) {
	        var me = this;
	
	        //renderTpl.renderBody = me.doRenderBody;
	        renderData.renderContainer = me.doRenderContainer;
	        //renderTpl.renderItems = me.doRenderItems;
	        //renderTpl.renderPadder = me.doRenderPadder;
	        return renderData;
	    }
	}))
})
